<style>
    .text-center {
        text-align: center !important;
    }
    .text-left {
        text-align: left !important;
    }
    .text-right {
        text-align: right !important;
    }
    .table-head {
        /*margin: 0 15px !important;*/
        /*padding-bottom: 15px;*/
        border-bottom: 1px solid #D2D2D2;
    }
</style>
<form id="" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
        <div class="form-group table-head">
            <label class="control-label col-xs-12 col-sm-2 text-center">{:__('Distributor')}</label>
            <label class="control-label col-xs-12 col-sm-2 text-center">{:__('Phone')}</label>
            <label class="control-label col-xs-12 col-sm-2 text-center">{:__('Commissiontotal')}</label>
            <label class="control-label col-xs-12 col-sm-2 text-center">{:__('Firsttotal')}</label>
        </div>
    {notempty name="$data"}
    {foreach name="$data" item="v"}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2 text-center">{$v.name}</label>
        <label class="control-label col-xs-12 col-sm-2 text-center">{$v.phone}</label>
        <label class="control-label col-xs-12 col-sm-2 text-center">¥{$v.total}</label>
        <label class="control-label col-xs-12 col-sm-2 text-center">
            {if condition="isset($v.first)"}
                ¥{$v['first']}
            {else /}
                0.00
            {/if}
        </label>
    </div>
    {/foreach}
    {/notempty}
</form>
